package com.luo.wheresmytakeaway.mapper;

import com.luo.wheresmytakeaway.pojo.Order;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderMapper {

    List<Order> getOrderService(Integer uid);

    void addOrder(Order order);

    void deleteOrder(List<Integer> id);

    List<Order> getOrderListByStatus(Integer status,Integer uid);
}
